/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

let IconPhone = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M769.547 8h-515.064c-47.423 0-85.868 37.61-85.868 83.998v839.947c0 46.416 38.445 84.055 85.868 84.055h515.064c47.395 0 85.811-37.64 85.811-84.055v-839.947c0.029-46.387-38.388-83.998-85.811-83.998zM383.256 50.013h214.612l2.705 41.985h-217.289v-41.985zM511.108 953.009c-23.683 0-42.934-18.791-42.934-42.013s19.223-41.956 42.934-41.956c23.712 0 42.905 18.734 42.905 41.956s-19.193 42.013-42.905 42.013zM769.547 806.050h-515.093l0.92-672.039h514.173v672.039z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </Svg>
  );
};

IconPhone.defaultProps = {
  size: 18,
};

IconPhone = React.memo ? React.memo(IconPhone) : IconPhone;

export default IconPhone;
